/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.wsapi.core.auth;

import org.apache.shiro.authc.UsernamePasswordToken;

/**
 * 用户名，密码，验证码
 *
 * @author yangyan <y.os@qq.com>
 */
public class UsernamePasswordCaptchaToken extends UsernamePasswordToken {

    public UsernamePasswordCaptchaToken() {
    }

    public UsernamePasswordCaptchaToken(String captcha, String username, String password) {
        super(username, password);
        this.captcha = captcha;
    }

    private String captcha;

    public String getCaptcha() {
        return captcha;
    }

    public void setCaptcha(String captcha) {
        this.captcha = captcha;
    }

}
